package com.xqboss.apps.domain.consumer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.market.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.util.Date;

/**
 * 队伍转增（藏品/宝盒/装备）记录(ConsumerTeamGiveRecord)表实体类
 *
 * @author makejava
 * @since 2023-12-15 14:27:08
 */
@Data
@ApiModel("队伍转增记录")
public class ConsumerTeamGiveRecord extends BaseTable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("队伍ID")
    private Long teamId;

    @ApiModelProperty("赠品名称")
    private String name;

    @ApiModelProperty("赠品类型（藏品/宝盒/装备）")
    private MarketTypeEnum type;

    @ApiModelProperty("赠送类型 0队伍送礼(默认) 1藏品转赠")
    private Integer giveType;

    @ApiModelProperty("订单号（订单id）")
    private Long orderId;

    @ApiModelProperty("转赠用户id")
    private Long giveUserId;

    @ApiModelProperty("接收用户id")
    private Long receiveUserId;

    @ApiModelProperty("转赠时间")
    private Date giveTime;

    @ApiModelProperty("转赠数量")
    private Integer giveNum;

    @ApiModelProperty("图片")
    private String mainImg;

    @ApiModelProperty("发行方")
    private String publishName;

    @ApiModelProperty("nft藏品编号id")
    private Long nftNumberId;

    @ApiModelProperty("备注")
    private String giveRemark;

}

